export default {
    // 如：png、jpg
    getSuffix:(fileName)=>{
        return fileName.substring(fileName.lastIndexOf(".")+1)
    },
    getSuffix4Blob:(blob)=>{
        const type=blob.type
        return type.substring(type.lastIndexOf("/")+1)
    },
    typeList:['image/png', 'image/jpeg'],
    suffixList:['png','jpg','jpeg']
}
